<template>
    <div class="confirm-content">
        <img :src="successImg" class="confirm-img" />
        <div class="confirm-text">账户开通成功！</div>
        <div class="confirm-btn" @click="backHandle">返回</div>
    </div>
</template>
<script setup>
import successImg from '@/assets/imgs/sys/verify-success.png';
import { useRouter } from 'vue-router';

const router = useRouter();
const backHandle = () => {
    router.back();
};
</script>
<style lang="scss" scoped>
.confirm-content {
    margin-top: 178px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    .confirm-text {
        font-size: 24px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: #333333;
    }
    .confirm-img {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }
    .confirm-btn {
        cursor: pointer;
        text-align: center;
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #ffffff;
        width: 168px;
        height: 32px;
        line-height: 32px;
        background: #ff6b00;
        border-radius: 4px;
        margin-top: 52px;
    }
}
</style>
